3.9.92 \(\int \frac {1}{x^2 \sqrt {1-x^4}} \, dx\) [892]

Optimal. Leaf size=27 \[ -\frac {\sqrt {1-x^4}}{x}-E\left (\left .\sin ^{-1}(x)\right |-1\right )+F\left (\left .\sin ^{-1}(x)\right |-1\right ) \]

[Out]

-EllipticE(x,I)+EllipticF(x,I)-(-x^4+1)^(1/2)/x

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {331, 313, 227, 1195, 435} \begin {gather*} F(\text {ArcSin}(x)|-1)-E(\text {ArcSin}(x)|-1)-\frac {\sqrt {1-x^4}}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(x^2*Sqrt[1 - x^4]),x]

[Out]

-(Sqrt[1 - x^4]/x) - EllipticE[ArcSin[x], -1] + EllipticF[ArcSin[x], -1]

Rule 227

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> Simp[EllipticF[ArcSin[Rt[-b, 4]*(x/Rt[a, 4])], -1]/(Rt[a, 4]*Rt[
-b, 4]), x] /; FreeQ[{a, b}, x] && NegQ[b/a] && GtQ[a, 0]

Rule 313

Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[-b/a, 2]}, Dist[-q^(-1), Int[1/Sqrt[a + b*x^4]
, x], x] + Dist[1/q, Int[(1 + q*x^2)/Sqrt[a + b*x^4], x], x]] /; FreeQ[{a, b}, x] && NegQ[b/a]

Rule 331

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c*x)^(m + 1)*((a + b*x^n)^(p + 1)/(a*c
*(m + 1))), x] - Dist[b*((m + n*(p + 1) + 1)/(a*c^n*(m + 1))), Int[(c*x)^(m + n)*(a + b*x^n)^p, x], x] /; Free
Q[{a, b, c, p}, x] && IGtQ[n, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 435

Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*Ell
ipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0
]

Rule 1195

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[(-a)*c, 2]}, Dist[Sqrt[-c], Int
[(d + e*x^2)/(Sqrt[q + c*x^2]*Sqrt[q - c*x^2]), x], x]] /; FreeQ[{a, c, d, e}, x] && GtQ[a, 0] && LtQ[c, 0]

Rubi steps

\begin {align*} \int \frac {1}{x^2 \sqrt {1-x^4}} \, dx &=-\frac {\sqrt {1-x^4}}{x}-\int \frac {x^2}{\sqrt {1-x^4}} \, dx\\ &=-\frac {\sqrt {1-x^4}}{x}+\int \frac {1}{\sqrt {1-x^4}} \, dx-\int \frac {1+x^2}{\sqrt {1-x^4}} \, dx\\ &=-\frac {\sqrt {1-x^4}}{x}+F\left (\left .\sin ^{-1}(x)\right |-1\right )-\int \frac {\sqrt {1+x^2}}{\sqrt {1-x^2}} \, dx\\ &=-\frac {\sqrt {1-x^4}}{x}-E\left (\left .\sin ^{-1}(x)\right |-1\right )+F\left (\left .\sin ^{-1}(x)\right |-1\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.01, size = 18, normalized size = 0.67 \begin {gather*} -\frac {\, _2F_1\left (-\frac {1}{4},\frac {1}{2};\frac {3}{4};x^4\right )}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(x^2*Sqrt[1 - x^4]),x]

[Out]

-(Hypergeometric2F1[-1/4, 1/2, 3/4, x^4]/x)

________________________________________________________________________________________

Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 52 vs. \(2 (25 ) = 50\).
time = 0.16, size = 53, normalized size = 1.96

method result size
meijerg \(-\frac {\hypergeom \left (\left [-\frac {1}{4}, \frac {1}{2}\right ], \left [\frac {3}{4}\right ], x^{4}\right )}{x}\) \(15\)
default \(-\frac {\sqrt {-x^{4}+1}}{x}+\frac {\sqrt {-x^{2}+1}\, \sqrt {x^{2}+1}\, \left (\EllipticF \left (x , i\right )-\EllipticE \left (x , i\right )\right )}{\sqrt {-x^{4}+1}}\) \(53\)
elliptic \(-\frac {\sqrt {-x^{4}+1}}{x}+\frac {\sqrt {-x^{2}+1}\, \sqrt {x^{2}+1}\, \left (\EllipticF \left (x , i\right )-\EllipticE \left (x , i\right )\right )}{\sqrt {-x^{4}+1}}\) \(53\)
risch \(\frac {x^{4}-1}{x \sqrt {-x^{4}+1}}+\frac {\sqrt {-x^{2}+1}\, \sqrt {x^{2}+1}\, \left (\EllipticF \left (x , i\right )-\EllipticE \left (x , i\right )\right )}{\sqrt {-x^{4}+1}}\) \(57\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^2/(-x^4+1)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-(-x^4+1)^(1/2)/x+(-x^2+1)^(1/2)*(x^2+1)^(1/2)/(-x^4+1)^(1/2)*(EllipticF(x,I)-EllipticE(x,I))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^2/(-x^4+1)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(-x^4 + 1)*x^2), x)

________________________________________________________________________________________

Fricas [A]
time = 0.08, size = 28, normalized size = 1.04 \begin {gather*} -\frac {x E(\arcsin \left (x\right )\,|\,-1) - x F(\arcsin \left (x\right )\,|\,-1) + \sqrt {-x^{4} + 1}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^2/(-x^4+1)^(1/2),x, algorithm="fricas")

[Out]

-(x*elliptic_e(arcsin(x), -1) - x*elliptic_f(arcsin(x), -1) + sqrt(-x^4 + 1))/x

________________________________________________________________________________________

Sympy [B] Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 32 vs. \(2 (15) = 30\).
time = 0.34, size = 32, normalized size = 1.19 \begin {gather*} \frac {\Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{4}, \frac {1}{2} \\ \frac {3}{4} \end {matrix}\middle | {x^{4} e^{2 i \pi }} \right )}}{4 x \Gamma \left (\frac {3}{4}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**2/(-x**4+1)**(1/2),x)

[Out]

gamma(-1/4)*hyper((-1/4, 1/2), (3/4,), x**4*exp_polar(2*I*pi))/(4*x*gamma(3/4))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^2/(-x^4+1)^(1/2),x, algorithm="giac")

[Out]

integrate(1/(sqrt(-x^4 + 1)*x^2), x)

________________________________________________________________________________________

Mupad [B]
time = 1.12, size = 13, normalized size = 0.48 \begin {gather*} -\frac {{{}}_2{\mathrm {F}}_1\left (-\frac {1}{4},\frac {1}{2};\ \frac {3}{4};\ x^4\right )}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x^2*(1 - x^4)^(1/2)),x)

[Out]

-hypergeom([-1/4, 1/2], 3/4, x^4)/x

________________________________________________________________________________________